package com.itheima.mapper;

import com.itheima.DTO.OrderDTO;
import com.itheima.VO.OrderVO;
import com.itheima.common.entity.QueryPageBean;
import com.itheima.pojo.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper {

    List<OrderVO> findPage(QueryPageBean queryPageBean);


    String findMemberByMemberId(Integer memberId);

    String findPhoneNumberByMemberId(Integer memberId);

    String findSetmealCodeBySetmealId(Integer setmealId);

    void updataOrderStatus(OrderDTO orderDTO);
}
